﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="WordFilterManage.aspx.cs"
    Inherits="Whir_System_Module_Config_WordFilterManage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../../Skin/Default/Css/main.css" rel="stylesheet" type="text/css" />

    <script language="javascript" type="text/javascript">
        if (top.location == self.location) { 
            top.location='../../Default.aspx';
        } 
    </script>

</head>
<body>
    <form id="form1" runat="server">
        <asp:Repeater ID="Repeater1" runat="server">
            <HeaderTemplate>
                <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#DADADA">
                    <tr>
                        <td height="23" align="center" class="grid_Title">替换目标 </td>
                        <td height="23" align="center" class="grid_Title">替换结果 </td>
                        <td height="23" align="center" class="grid_Title">是否启用 </td>
                        <td height="23" align="center" class="grid_Title">操作管理 </td>
                    </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td height="23" align="center" class="grid_td">
                        <%# Eval("WordFrom") %>
                    </td>
                    <td height="23" align="center" class="grid_td">
                        <%# Eval("WordTo")%>
                    </td>
                    <td height="23" align="center" class="grid_td">
                        <%# (bool)Eval("IsUse") == true ? "<b>√</b>" : "<span style=\"color:red;\"><b>×</b></span>"%>
                    </td>
                    <td height="23" align="center" class="grid_td"><a href='WordFilter.aspx?Action=Modify&WordID=<%# Eval("WordID") %>'>
                        <img src="../../image/CommonImage/eip_edit.gif" style="border: 0px;" /></a>&nbsp;
                        <a href='WordFilter.aspx?Action=Delete&WordID=<%# Eval("WordID") %>'>
                            <img src="../../image/CommonImage/eip_deleted.gif" style="border: 0px;" /></a>
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
        <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="添加过滤" CssClass="btn_default" />
    </form>
</body>
</html>
